package com.eyas.business.dao;

import com.eyas.business.model.jpa.RoleInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Auther: 王龙龙
 * @Date: 2019/2/27 17:23
 * @Description:
 */
public interface RoleInfoDao extends JpaRepository<RoleInfo,Integer> {
    public int countRoleInfoByRolenameAndValidflag(String rolename,String validflag);
    public int countRoleInfoByRolenameAndValidflagAndRoleidNot(String rolename,String validflag,int roleid);
}
